package spring;

import com.sun.org.apache.bcel.internal.generic.RETURN;
import org.springframework.stereotype.Service;

/**
 * 创建时间：2025-05-09 13:36
 */
@Service
public class FoodRewardStrategy extends AbstractStrategy {

    @Override
    public String getStrategyType() {
        return Type.FOOD.name();
    }

    @Override
    public String issueReward(Object... params) {
        System.out.println("food reward");
        return "";
    }

    /**
     * 发送积分策略
     */
    @Override
    public void issueIntegralReward(Object... params) {
        System.out.print("FOOD：");
        super.issueIntegralReward(params);
    }
}
